package com.ruoyi.pg.answerSheet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.pg.answerSheet.domain.PgAnswerLog;
import com.ruoyi.pg.answerSheet.vo.PgAnswerLogVo;

import java.util.List;

/**
 * 答题日志Service接口
 *
 * @author Ming
 * @date 2025-09-17
 */
public interface IPgAnswerLogService extends IService<PgAnswerLog> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<PgAnswerLogVo> queryList(PgAnswerLogVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<PgAnswerLogVo> queryAll(PgAnswerLogVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    PgAnswerLogVo queryById(Long id);
}
